package main

import (
	"mqtt_on_offline/handler"
	"mqtt_on_offline/mqtt"
	"mqtt_on_offline/webscoket"
	"net/http"
)

// 这个是注释信息
func main()  {
	mqtt.MqttConnSubMsgTask()
	http.HandleFunc("/", redisHandler.Handler)
	http.HandleFunc("/ws", webscoket.WsHandler)
	http.ListenAndServe("localhost:7777", nil)
}
